package io.command;

import io.IIO;
import io.command.result.IOResult;

/**
 * Command of show new round message
 * 
 * 
 * @version 1.0.1
 */
public class NewRoundMessageCommand extends IOCommand {

	private String newRoundStarterName;

	public NewRoundMessageCommand(IIO io, String newRoundStarterName) {
		super(io);
		this.newRoundStarterName = newRoundStarterName;
	}

	/**
	 * Command details
	 */
	@Override
	public IOResult execute() {
		io.println("Player " + newRoundStarterName
				+ " is the player with the largest play during last round.");
		io.println("You can discard any card as you want.");
		return null;
	}

}
